﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using welding.Model;

namespace welding.Controller
{
    class WorkOrderController
    {
        private string cmdString;
        private WorkOrderResponseClass workOrderResponse;

        public WorkOrderController()
        {
        }

        public WorkOrderController(string cmdString)
        {
            this.cmdString = cmdString;
            this.WorkOrderResponse = JsonConvert.DeserializeObject<WorkOrderResponseClass>(cmdString);
        }

        public string CmdString { get => cmdString; set => cmdString = value; }
        internal WorkOrderResponseClass WorkOrderResponse { get => workOrderResponse; set => workOrderResponse = value; }


    }
}
